<div ng-controller="CustomqueCtrl">
    <tabs options="tabs1">
        <ul class="tab">
            <li><a href="#subtabs_01">自定义查询</a></li>
        </ul>
        <div>
            <div id="subtabs_01">
                <div>
                    <div class="selectfrom">
                        <div class="index customtab1">1 建立规则</div>
                        <div class="customtab2">2 生成任务</div>
                        <div class="custompage1">
                            <span class="rqs4">任务名称：</span>
                            <input id="taskName"/><span id="tip_name"></span>
                            <br/>
                            <span class="ml">命名规则建议：xxx</span>
                            <br/>
                            <span class="rqs4">日期选择：</span>
                            <input id="starttime1" onfocus="WdatePicker({skin:'twoer',dateFmt:'yyyy-MM-dd'})" />
                            <span>至</span>
                            <input id="endtime1" onfocus="WdatePicker({skin:'twoer',dateFmt:'yyyy-MM-dd'})" />
                            <br/>
                            <span class="rqs4">用户组：</span>
                            <!--<select id="userGroup">
                                <option ></option>
                                <option>4G营销用户</option>
                                <option>阅读营销用户</option>
                            </select>-->
                            <input type="file" id="file">
                            <input type="checkbox" id="isExclude"/>
                            <span>是否排除该用户组</span>
                            <br/>
                            <span class="rqs4 rps5">规则配置：</span>
                            <ul class="gzpz">
                                <li class="gzpz1">
                                    <span>业务选择：</span>
                                    <select id="service_type" >
                                        <option ></option>
                                        <option >即时通信</option>
                                        <option >阅读</option>
                                        <option >视频</option>
                                        <option >游戏</option>
                                    </select>
                                </li>
                                <li class="gzpz1">
                                    <span>终端选择：</span>
                                    <select id="brand">
                                        <option ></option>
                                        <option value="Huawei">华为</option>
                                        <option value="APPLE">苹果</option>
                                        <option value="Meizu">魅族</option>
                                        <option value="Xiaomi">小米</option>
                                    </select>
                                </li>
                                <li class="gzpz1">
                                    <span>关键字选择：</span>
                                    <select id="keywordSource">
                                        <option ></option>
                                        <option>全部</option>
                                        <option>搜索引擎</option>
                                        <option>应用网站</option>
                                    </select>
                                </li>
                                <br/>
                                <li class="gzpz11">
                                    <span>搜索：</span>
                                    <input type="text"  ng-model="ztreebus.filter" ng-enter="ztreeter.tofilter(ztreeter.filter)" />
                                    <ztree id="ztreebus" options="ztreebus"></ztree>
                                </li>
                                <li class="gzpz11">
                                    <span>搜索：</span>
                                    <input type="text"  ng-model="ztreeter.filter" ng-enter="ztreeter.tofilter(ztreeter.filter)" />
                                    <ztree id="ztreeter" options="ztreeter"></ztree>
                                </li>
                                <li class="gzpz11">
                                    <div class="dis">
                                        <input /><img ng-click="deletekey()" class='dingwei2' src='../../../images/delete1.png'>
                                    </div>
                                    <br/>
                                    <a href="" ng-click="addkeyword()">添加关键字</a>
                                </li>
                                <li>
                                    <span>流量选择：</span>
                                    <select id="flow">
                                        <option >日流量</option>
                                        <option >月流量</option>
                                    </select>
                                    <select id="flowInterval">
                                        <option value="between">区间</option>
                                        <option value="less">小于</option>
                                        <option value="greater">大于</option>
                                    </select>
                                    <input id="txtMinFlow" ng-model="minScore" class="kuan hide1" />
                                    <span class="hide2" id="hide2">至</span>
                                    <input id="txtMaxFlow" ng-model="maxScore" class="kuan" />
                                    <span>KB</span>
                                </li>
                                <li>
                                    <span>网络类型：</span>
                                    <input type="checkbox" name="network_type" value="2/3G">
                                    <span>2/3G</span>
                                    <input type="checkbox" name="network_type" value="4G">
                                    <span>4G</span>
                                </li>
                            </ul>
                            <br/>
                            <span class="rqs4">输出字段：</span>
                            <input type="checkbox" name="output" checked="checked" value="用户号码" disabled="disabled" />
                            <span>用户号码</span>
                            <input type="checkbox" name="output" value="终端品牌" checked="checked" disabled="disabled"/>
                            <span>终端品牌</span>
                            <input type="checkbox" name="output" value="终端型号" checked="checked" disabled="disabled"/>
                            <span>终端型号</span>
                            <input type="checkbox" name="output" value="业务类型" checked="checked" disabled="disabled"/>
                            <span>业务类型</span>
                            <input type="checkbox" name="output" value="具体业务" checked="checked" disabled="disabled"/>
                            <span>具体业务</span>
                            <input type="checkbox" name="output" value="TOP5业务" checked="checked" disabled="disabled"/>
                            <span>TOP5业务</span>
                            <input type="checkbox" name="output" value="搜索关键字" checked="checked" disabled="disabled"/>
                            <span>搜索关键字</span>
                            <input type="checkbox" name="output" value="使用流量" checked="checked" disabled="disabled"/>
                            <span>使用流量</span>
                            <input type="checkbox" name="output" value="点击次数" checked="checked" disabled="disabled"/>
                            <span>点击次数</span>
                            <input type="checkbox" name="output" value="使用天数" checked="checked" disabled="disabled"/>
                            <span>使用天数</span>
                            <br/>
                            <input ng-click="customtab()" class="rqbtn" type="button" value="确定" />
                            <input ng-click="" class="rqbtn" type="button" value="重置" />
                        </div>
                        <div class="custompage2">
                            <span>您已成功定制挖掘任务，详细如下：</span>
                            <br/>
                            <ul>
                                <li>1. 任务名称：<span id="taskN">XXX</span></li>
                                <li>2. 创建用户：<span>ZZZ</span></li>
                                <li>3. 创建时间：<span id="createtime">2015年1月10日，16:00</span></li>
                                <li>4. 模型规则：</li>
                                <li>1）筛选日期：<span id="date">2015年1月1日~2015年1月15日</span></li>
                                <li>2）关键字：<span id="keyword">【搜索引擎】何以，何以笙箫默</span></li>
                                <li>3）业务：<span id="service">【阅读】和阅读，QQ阅读</span></li>
                                <li>4）终端：<span id="terminal">【安卓】1000~1500元</span></li>
                                <li>5）套餐：<span id="">【动感地带，神州行】【100MB以上套餐】【上月订购叠加包】</span></li>
                                <li>6）其他：<span id="other">【使用流量】10~50MB，【号码群组】揭阳黑名单，【排除号码群组】</span></li>
                                <li>5. 输出字段：<span id="output">用户号码，TOP5业务，使用流量</span></li>
                            </ul>
                            <div class="wwxt">
                                <span>是否将模型结果数据推送至外围系统？</span>
                                <input type="radio" name="ts1" ng-click="shi()" />
                                <span>是</span>
                                <input type="radio" name="ts1" checked="checked" ng-click="fou()" />
                                <span>否</span>
                                <br/>
                                <div class="ts">
                                    <p class="rqs3">外围系统FTP配置</p>
                                    <input class="va" type="radio" name="ts2" />
                                    <span>选择已保存的配置</span>
                                    <br/>
                                    <select>
                                        <option>触点营销系统</option>
                                        <option>短信营销系统</option>
                                    </select>
                                    <br/>
                                    <input class="va" type="radio" name="ts2" checked="checked" />
                                    <span>创建新的系统FTP配置</span>
                                    <br/>
                                    <span>FTP路径：</span>
                                    <input />
                                    <br/>
                                    <span>用户名：</span>
                                    <input />
                                    <br/>
                                    <span>密码：</span>
                                    <input />
                                    <br/>
                                    <span>配置名：</span>
                                    <input />
                                    <br/>
                                    <input class="va" type="checkbox" checked="checked" />
                                    <span class="hui">创建并存入扩展功能 >> FTP配置管理</span>
                                </div>
                            </div>
                            <div class="both"></div>
                            <p class="cred">提示：任务已保存至任务管理，详情可点击<a href="javascript:toModel()">任务管理</a>进入查看任务进程。</p>
                            <input ng-click="customtab1()" class="rqbtn" type="button" value="继续新增" />
                            <input ng-click="toModel()" class="rqbtn" type="button" value="任务管理" />
                            <input ng-click="toHome()" class="rqbtn" type="button" value="退出" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </tabs>
</div>